﻿@page
@model Web.Pages.SRModel
@{
   
}
<h3>@ViewData["Title"]</h3>


<div class="container text-center">
  <div class="row">
        @foreach(var title in (ViewData["data"] as DonetSpider.SearchResult).Items )
        {
                <div class="col-6 col-md-4 col-lg-3 col-xl-2 col-xxl-1">
                     <a class="nav-link text-dark" href="/SL?l=@title.LinkUrl">
                         <img src="@title.ImgUrl" class="img-fluid" alt="...">
                        <span>@title.Title</span>    
                     </a>
                </div>
        }
  </div>
<nav aria-label="Page navigation example">
  <ul class="pagination">
              @foreach(var title in (ViewData["data"] as DonetSpider.SearchResult).Links )
        {
            <li class="page-item"><a class="page-link" href="SR?k=@title.LinkUrl&n=1">@title.Title</a></li>
        }
    
  </ul>
</nav>
</div>
